package com.mer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @program: IIPhase-project
 * @description: 教师收藏实体类
 * @author: 张庆恒
 * @create: 2021-10-21 16:51
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_shoucang_teacher")
@ApiModel(value = "TeacherCollect对象", description = "")
public class TeacherCollect implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "会员id")
    private String memberId;

    @ApiModelProperty(value = "教师id")
    private String teacherId;
}
